package com.cy.ppj.model.ao.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @description: 实名
 * @author: Ocean
 * @create: 2018-09-12 14:57
 **/
@Data
@ApiModel("实名")
public class CertificationAO {

    @ApiModelProperty(value = "姓名", required = true)
    @NotEmpty(message = "姓名不可为空")
    private String name;

    @ApiModelProperty(value = "身份证号码", required = true)
    @NotEmpty(message = "身份证号码不可为空")
    private String idNo;

    @ApiModelProperty(value = "城市ID", example = "1", required = true)
    @NotNull(message = "城市ID不可为空")
    private Long cityId;
}
